package com.book.oauth.server.route.dto;

import java.util.Date;
import java.math.BigDecimal;
import com.book.common.util.DatetimeUtil;
import java.io.Serializable;
import lombok.Data;
import com.book.common.api.dto.BaseDto;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Description：路由信息 EntityDto
 * @Author： leo
 * @CreateDate： 2020-12-31
 * @Email： leo.xiong@suyun360.com
 * Version: 1.0
 */
@Data
@ApiModel(value = "RouteDto", discriminator = "路由信息Dto", subTypes = {RouteDto.class})
public class RouteDto extends BaseDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "所属模块")
    private Long modelId;

    @ApiModelProperty(value = "类型0：菜单，1：按钮")
    private Integer type;

    @ApiModelProperty(value = "")
    private Long parentId;

    @ApiModelProperty(value = "菜单名")
    private String name;

    @ApiModelProperty(value = "当前路径")
    private String path;

    @ApiModelProperty(value = "组件")
    private String component;

    @ApiModelProperty(value = "是否隐藏")
    private String hidden;

    @ApiModelProperty(value = "跳转路径")
    private String redirect;

    @ApiModelProperty(value = "是否总是显示")
    private String alwaysShow;

    @ApiModelProperty(value = "排序")
    private Integer orderNum;

    @ApiModelProperty(value = "权限")
    private String permission;

    @ApiModelProperty(value = "头部名称")
    private String title;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "")
    private String affix;

    @ApiModelProperty(value = "是否缓存")
    private String noCache;

    @ApiModelProperty(value = "")
    private String activeMenu;
}
